package com.xja.service;

import com.xja.entity.PageResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import com.xja.entity.Bookinfo;
import java.util.List;

/**
 * @author 周广瑞
 * @date 2022/4/26 19:29
 */
@Component
@FeignClient(value = "bookService")
public interface  BookService {

    @RequestMapping("/book/findall")
    public PageResult<List<Bookinfo>> findallweb();
}
